home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 4 / Light ROM 4 - Disc 1.iso / text / net_news / 1995 / 050695.doc / text0113.txt < prev    next >
Encoding:
Text File  |  1995-05-14  |  1.8 KB  |  55 lines

  1. Iain Colledge (iainc@imc-a1.demon.co.uk) wrote:
  2. | Anyone,
  3.  
  4. | I want to write an AREXX script to generate envelopes for lens flares / light intensity
  5. | and object dissolves for the exhaust plumes on spaceship engines, as I am fed up with
  6. | trying to do them by hand.
  7.  
  8. | Basically what I want to do is have my script read the motion path for my ship and
  9. | work out which engines should fire to get it to go to the next frame position (The ship has
  10. | the same sort of arrangement as a B5 Star Fury). The real bit I am stuck on is the how 
  11. | the splines work as I don't want to create a keyframe for every frame (SCREAM).
  12.  
  13. | Can anyone send me the info on how lightwave calculates the XYZ, HPB values from keyframe
  14. | to keyframe.
  15.  
  16. | Iain Colledge
  17.  
  18. if you save out a motion file, and take a look at it (hit the object
  19. motion button, and save the motion file) you should see how LW does its
  20. thing.
  21.  
  22. the file goes something like this (from memory)
  23. -------------------------------------------------
  24. 1 (reserved LW version identifier)
  25. 9 (number of data elements per keyframe)
  26. 5 (number of keyframes)
  27. x y z heading pitch bank xsize ysize zsize
  28. frame# Linear_Motion tension continuity bias
  29. -------------------------------------------------
  30.  
  31. the last two lines repeat for every keyframe of the object in question.
  32.  
  33. do you think that I should put this in the Magazine (LightSmith)
  34.  
  35. kinda neat I guess.
  36.  
  37. Chris Alexander - Editor LightSmith the magazine
  38.  
  39.  
  40.  
  41.  
  42. --
  43. ---------------------------------------------------------------------------
  44.         | LightSmith -the magazine --     Lightwave 3D Tutorials,
  45.         |                    Hints, and Solutions
  46. All opinions are| ASK FOR DETAILS         from the Experts in the
  47. mine, and should|    IF INTERESTED        feild.
  48. conflict    |
  49. minimaly    |---------------------------------------------------------- 
  50. with reality!
  51. ---------------------------------------------------------------------------
  52.  
  53.  
  54.  
  55.